package com.dlc.shop.systemtest.api.amount;

import com.dlc.shop.distribution.common.dto.DistributionUserWalletDto;
import com.dlc.shop.systemtest.constants.Constant;
import com.dlc.shop.systemtest.util.HttpUtil;

/**
 * @author: zsm
 * @date: 2023/2/28 9:22
 */
public class DistributionUserWalletApi {

    /**
     * 查看分销员钱包数据
     * @return
     */
    public static DistributionUserWalletDto getDistributionUserWalletDtoByDistributionUserId(){
        String url = Constant.API_URL + "/p/distribution/wallet/info";
        return HttpUtil.get(url, DistributionUserWalletDto.class);
    }

}
